package com.zzh;

import org.springframework.core.convert.TypeDescriptor;
import org.springframework.core.convert.converter.ConditionalGenericConverter;

import java.util.Set;

/**
 * @ProjectName: study
 * @Package: com.zzh
 * @ClassName: StringToUserConverter
 * @Author: zzh
 * @Description: 自定义参数转化器
 * @Date: 2021/9/5 21:33
 * @Version: 1.0
 */
public class StringToUserConverter  implements ConditionalGenericConverter {
    @Override
    public boolean matches(TypeDescriptor typeDescriptor, TypeDescriptor typeDescriptor1) {
        return false;
    }

    @Override
    public Set<ConvertiblePair> getConvertibleTypes() {
        return null;
    }

    @Override
    public Object convert(Object o, TypeDescriptor typeDescriptor, TypeDescriptor typeDescriptor1) {
        return null;
    }
}
